package data;

public class State {

	static private State state = null;
	private Exercise activeExercise;
	
	private State()
	{
		
	}
	
	public Exercise getActiveExercise()
	{
		return activeExercise;
	}
	
	public void setActiveExercise(Exercise activeExercise)
	{
		this.activeExercise = activeExercise;
	}
	
	public static State getInstance()
	{
		if (null == state)
		{
			state = new State();
		}
		
		return state;
	}
	
}
